
package ro.ubbcluj.cs.damate.plugin.ws.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="eventTypeCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="eventDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="observedEntity" type="{http://cs.ubbcluj.ro/damate/ws}ObservedEntity"/>
 *         &lt;element name="parameters" type="{http://cs.ubbcluj.ro/damate/ws}EventParameter" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "eventTypeCode",
    "eventDate",
    "user",
    "observedEntity",
    "parameters"
})
@XmlRootElement(name = "PluginEventRequest")
public class PluginEventRequest {

    protected int eventTypeCode;
    @XmlElement(required = true)
    protected String eventDate;
    @XmlElement(required = true)
    protected String user;
    @XmlElement(required = true)
    protected ObservedEntity observedEntity;
    protected List<EventParameter> parameters;

    /**
     * Gets the value of the eventTypeCode property.
     * 
     */
    public int getEventTypeCode() {
        return eventTypeCode;
    }

    /**
     * Sets the value of the eventTypeCode property.
     * 
     */
    public void setEventTypeCode(int value) {
        this.eventTypeCode = value;
    }

    /**
     * Gets the value of the eventDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEventDate() {
        return eventDate;
    }

    /**
     * Sets the value of the eventDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setEventDate(String value) {
        this.eventDate = value;
    }

    /**
     * Gets the value of the user property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUser() {
        return user;
    }

    /**
     * Sets the value of the user property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUser(String value) {
        this.user = value;
    }

    /**
     * Gets the value of the observedEntity property.
     * 
     * @return
     *     possible object is
     *     {@link ObservedEntity }
     *     
     */
    public ObservedEntity getObservedEntity() {
        return observedEntity;
    }

    /**
     * Sets the value of the observedEntity property.
     * 
     * @param value
     *     allowed object is
     *     {@link ObservedEntity }
     *     
     */
    public void setObservedEntity(ObservedEntity value) {
        this.observedEntity = value;
    }

    /**
     * Gets the value of the parameters property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the parameters property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getParameters().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link EventParameter }
     * 
     * 
     */
    public List<EventParameter> getParameters() {
        if (parameters == null) {
            parameters = new ArrayList<EventParameter>();
        }
        return this.parameters;
    }

}
